﻿using Architecture.Domain;
using Architecture.Domain.Dto.MenuDto;
using Architecture.Repository;
using MediatR;

namespace Architecture.API.Application.Command.MenuCommand
{
    /// <summary>
    /// 菜单搜索命令
    /// </summary>
    public class MenuSearchCommand : IRequest<PagingMenuDto<MenuListDto>>
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 菜单名
        /// </summary>
        public string? MenuName { get; set; }
    }
}
